﻿using System.Web.UI;

namespace RockPaperScissors.Web
{
    public static class ExtenstionMethods
    {
        public static void AddMessage(this MasterPage master, string note, Message.Styles style)
        {
            Main masterPage = (Main)master;
            masterPage.SiteMessages.AddMessage(note, style);
        }
    }
}